solution "HallServer"
    location "build"
    language "C++"
    objdir "obj"

    configurations { "Debug", "Release" }

    configuration "windows"
        defines { "WIN32", "_WIN32" }

    configuration "linux"
    	includedirs { "/usr/include/mysql", "/usr/local/include/mysql" }
        buildoptions { "-Wall", "-fexceptions", "-fno-strict-aliasing", "-Wno-multichar" }
        libdirs { "/usr/local/lib/mysql" }

    configuration "vs*"
		flags "EnableSSE2"
		defines { "_CRT_SECURE_NO_WARNINGS" }
		includedirs{ "./tools/libs/include" }
		libdirs{ "./tools/libs/lib" }

    configuration "Debug"
        flags "Symbols"
        defines "_DEBUG"
        targetdir "bin/Debug"

    configuration { "Release", "not vs*" }
        flags "Symbols"
	buildoptions "-march=native"

    configuration "Release"
        flags { "OptimizeSpeed", "FloatFast",  }
        targetdir "bin/Release"

    include "Framework"
	include "src"